﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;
using System.Text.Json.Serialization;
using TyMES.Model;

namespace TyMES.Model.GetData
{
    /// <summary>
    /// 工厂不良数据模版
    /// </summary>
	[Table("T_BadCodeTemplate")]

    [Display(Name = "_Model.BadCodeTemplate")]
    public class BadCodeTemplate : TopBasePoco
    {
        [Display(Name = "_Model._BadCodeTemplate._addTime")]
        [Comment("添加时间")]
        public DateTime? AddTime { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._badCode")]
        [Comment("不良编码")]
        public string BadCode { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._badName")]
        [Comment("不良名称")]
        public string BadName { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._badTypeCode")]
        [Comment("不良类型编码")]
        public string BadTypeCode { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._badTypeName")]
        [Comment("不良类型名称")]
        public string BadTypeName { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._dataStatus")]
        [Comment("数据状态")]
        public string DataStatus { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._editTime")]
        [Comment("编辑时间")]
        public DateTime? EditTime { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._enableStatus")]
        [Comment("启用状态")]
        public string EnableStatus { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._factoryCode")]
        [Comment("工厂编码")]
        public string FactoryCode { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._field1")]
        [Comment("预留域1")]
        public string Field1 { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._field2")]
        [Comment("预留域2")]
        public string Field2 { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._field3")]
        [Comment("预留域3")]
        public string Field3 { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._field4")]
        [Comment("预留域4")]
        public string Field4 { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._field5")]
        [Comment("预留域5")]
        public string Field5 { get; set; }
        [Display(Name = "_Model._BadCodeTemplate._operationCode")]
        [Comment("工艺编码")]
        public string OperationCode { get; set; }

	}

}
